package com.coolpad.job.device.util;

public class Constants {
    public interface DEVICE_INFO {
        // imei1,imei1_md5, imei2, imei2_md5, meid, meid_md5, imsi, imsi_md5,
        // radio, model, mac_addr, mac_addr_md5, bluetooth_addr, bluetooth_addr_md5,
        // sn, sn_md5, android_id, phone_number, gps, gps_geo_hash, ip_addr, rom, ram,
        // available_rom, user_account, os_version, android_version, update_ts,board, brand

        String IMEI1                = "imei1";
        String IMEI1_MD5            = "imei1_md5";
        String IMEI2                = "imei2";
        String IMEI2_MD5            = "imei2_md5";
        String MEID                 = "meid";
        String MEID_MD5             = "meid_md5";
        String IMSI                 = "imsi";
        String IMSI_MD5             = "imsi_md5";
        String RADIO                = "radio";
        String MODEL                = "model";
        String BRAND                = "brand";
        String BOARD                = "board";
        String REGION               = "region";
        String LOCALE               = "locale";
        String MAC_ADDR             = "mac_addr";
        String MAC_ADDR_MD5         = "mac_addr_md5";
        String BLUETOOTH_ADDR       = "bluetooth_addr";
        String BLUETOOTH_ADDR_MD5   = "bluetooth_addr_md5";
        String SN                   = "sn";
        String SN_MD5               = "sn_md5";
        String ANDROID_ID           = "android_id";
        String PHONE_NUMBER         = "phone_number";
        String GPS                  = "gps";
        String GPS_GEO_HASH         = "gps_geo_hash";
        String IP_ADDR              = "ip_addr";
        String ROM                  = "rom";
        String RAM                  = "ram";
        String AVAILABLE_ROM        = "available_rom";
        String USER_ACCOUNT         = "user_account";
        String OS_VERSION           = "os_version";
        String ANDROID_VERSION      = "android_version";
        String UPDATE_TS            = "update_ts";
        String UPDATE_DATE          = "dt";

    }
    public interface APP_USAGE {
        //{"imei1_md5":"343493434","update_ts":"2020-12-12 15:43:20","model":"X1","android_id":"ewqorjfdf",
        // "user_account":"god@coolpad","ip":"103.45.33.253","region":"cn","locale":"chinese_cn",
        // "os_version":"11-12.34","android_version":"12","network":"mobile-lte-3gnet",
        // "packages":[{"package_name":"com.wechat","usage":{"app_version":"4.35.2","frequency_all":4,
        // "duration_all":232,"duration_front":130,"duration_valid":100,"activate":1,"installation_source":"app_store"}}]}
        String IMEI1_MD5            = "imei1_md5";
        String UPDATE_TS            = "update_ts";
        String MODEL                = "model";
        String ANDROID_ID           = "android_id";
        String USER_ACCOUNT         = "user_account";
        String IP                   = "ip";
        String REGION               = "region";
        String LOCALE               = "locale";
        String DATE                 = "dt";
        String OS_VERSION           = "os_version";
        String ANDROID_VERSION      = "android_version";
        String NETWORK              = "network";
        String PACKAGE_NAME         = "package_name";
        String APP_VERSION          = "app_version";
        String FREQUENCY_ALL        = "frequency_all";
        String DURATION_ALL         = "duration_all";
        String DURATION_FRONT       = "duration_front";
        String DURATION_VALID       = "duration_valid";
        String ACTIVATED            = "activated";
        String INSTALL_SOURCE       = "installation_source";
    }
    public interface LOCATION{
        String timestamp = "timestamp";
        String ip = "ip";
        String gps = "gps";
        String connect_wifi = "conc_wifi";
        String near_wifi = "near_wifi";
        String cell = "cell";
        String dt = "dt";
    }

    /**
     * HBase 表字段
     */
    public interface HBASE_GEO_FIELD {

        String cf_location = "location";
        String lon = "lon";
        String lat = "lat";
        String cf_info = "info";
        String partition_id = "partition_id";
        String province_id = "province_id";
        String province_name = "province_name";
        String city_id = "city_id";
        String city_name = "city_name";
        String county_id = "county_id";
        String county_name = "county_name";
        String town_id = "town_id";
        String town_name = "town_name";
    }
}



